package com.stox.core.ui.swing.wrapper;

import java.awt.Color;

import org.jdesktop.swingx.JXTextField;

import com.stox.core.ui.swing.util.SwingUtil;

public class JTextField extends JXTextField {
	private static final long serialVersionUID = 6837142697591973549L;

	private void initialize(){
		SwingUtil.initializeWidget(this);
	}
	
	public JTextField() {
		initialize();
	}

	public JTextField(String promptText) {
		super(promptText);
		initialize();
	}

	public JTextField(String promptText, Color promptForeground) {
		super(promptText, promptForeground);
		initialize();
	}

	public JTextField(String promptText, Color promptForeground,
			Color promptBackground) {
		super(promptText, promptForeground, promptBackground);
		initialize();
	}

}
